package com.dong.dao;

import com.dong.entitys.Video;
import com.dong.entitys.Video1;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface VideoMapper {
    List<Video> selectAllVideo();

    Video selectVideoById(Integer id);

    Integer addVideo(Video video);

    Integer updateVideo(Map map);

    Integer deleteVideo(Integer id);
    List<Video> selectVideosByConndition(Video video);

    public PageInfo videoByPage( Integer currentPage,Integer pageSize);








}
